﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InnerPro.aspx.cs" Inherits="web.admin.scTask.InnserPro" %>
<%@ Register Assembly="Ling.Pager" Namespace="Ling.Pager" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../js/function.js" type="text/javascript"></script>
    <script src="../js/WebCalendar.js" type="text/javascript"></script>
    <style type="text/css" >
        a{border:none;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img alt="" src="../images/main_hl.gif" /></td>
                        <td ><img alt="" src="../images/main_hl2.gif" /></td>
                        <td class="topNav"><span>竞赛过程</span></td>
                        <td><img alt="" src="../images/main_hr.gif" /></td>
                    </tr>
                </table>
        </div>
    </div>
    <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation"><span>首页&gt;校级竞赛管理&gt;竞赛过程</span></div>
            <div class="tools_box" id="toos_box" runat="server">
                <div id="toolbar" class="tools_bar" runat="server">
                    <a href="AddInnerTask.aspx?PageCode=<%=Request .QueryString["PageCode"]%>" class="tools_btn"><span><b class="add">添加校级竞赛任务</b></span></a>
                    
                    <a href="#"  class="tools_btn" onclick="checkAll(this);"><span><b class="checkAll">全选</b></span></a>
                    <asp:LinkButton runat="server" OnClick="btnDelete_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');" 
                    CssClass="tools_btn" ID="btnDelete"><span><b class="delete">批量删除</b></span></asp:LinkButton>
                </div>
            </div>
            <div class="chooseClass">
                <span>选择学院：</span>
                <asp:DropDownList ID="AcademyList"  runat="server" AutoPostBack="true" 
                    AppendDataBoundItems="True" 
                    onselectedindexchanged="AcademyList_SelectedIndexChanged" >
                    <asp:ListItem Value="">全部学院</asp:ListItem>
                </asp:DropDownList>
            </div>
            <div class="content_table">
                <table class="msgtable">
                    <asp:Repeater ID="RpList" runat="server" onitemdatabound="RpList_ItemDataBound">
                        <HeaderTemplate>
                                <th >选择</th>
                                <th width="10%">竞赛任务</th>
                                <th>开始时间</th>
                                <th>结束时间</th>
                                <th>比赛地点</th>
                                <th>所属学院</th>
                                <!--<th>任务创建人</th>-->
                                <th>指导教师</th>
                                <th>负责人</th>
                                <th>审核</th>
                                <th>状态</th>
                                <!--<th>是否锁定</th>-->
                                <th>操作</th>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr >
                                <td><asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" /></td>
                                <td><%#Eval("CON_NAME")%> <asp:HiddenField ID="Hf_id" runat="server" Value='<%#Eval("CON_ID") %>' /> </td>
                                <td><%#Eval("CON_STARTTIME", "{0:yyyy/MM/dd}")%></td>
                                <td><%#Eval("CON_ENDTIME", "{0:yyyy/MM/dd}")%></td>
                                <td><%#Eval("CON_ADDRESS")%></td>
                                <td><%#Eval("ACA_NAME")%></td>
                                <td><%#Eval("CON_TEACHERS")%></td>
                                <!--<td><%#Eval("TEA_NAME")%></td>-->
                                <td><%#Eval("MANAGER_NAME")%></td>
                                <td><%#Eval("CON_ISCHECK").ToString().Trim() == "0" ? "否" : "是"%></td>
                                <td><%#Eval("CON_STATE")%></td>
                                <td id="Operation" runat="server"><a href="ListPro.aspx?id=<%#Eval("CON_ID") %>">过程管理</a></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <center>
                <div class="div_page">
                      <cc1:Pager ID="Pager1" runat="server"></cc1:Pager>
                </div>
            </center>
        </div>
        <div class="middle_right"></div>
    </div>
    </form>
</body>
</html>
